package com.atl.enity.po;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 个人资产
 * </p>
 *
 * @author 
 * @since 2024-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("stock_user_capital_fund")
@ApiModel(value="StockUserCapitalFund对象", description="个人资产")
public class StockUserCapitalFund implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long stockUserId;

    @ApiModelProperty(value = "钱包类型")
    private String stockCode;

    @ApiModelProperty(value = "币种名字")
    private String stockName;

    @ApiModelProperty(value = "可用")
    private BigDecimal usableFund;

    @ApiModelProperty(value = "总充值金额")
    private BigDecimal inAllFee;

    @ApiModelProperty(value = "总提现金额")
    private BigDecimal outAllFee;

    private LocalDateTime createTime;

    private LocalDateTime timestamp;

    @ApiModelProperty(value = "添加代理商id")
    private Long agentUserId;

    @ApiModelProperty(value = "钱包账号（卡号）")
    private String cardNum;


}
